package com.wg.dome.entity.user;


import com.wg.common.annotation.DataMember;
import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;

import java.io.Serializable;

/**
 * 账号信息
 */
@EntityTable(tableName = "user_account")
public class AccountEntity implements Serializable {

    @DataMember(code = 1)
    @EntityField(isKey = true, fieldName = "client_id")
    private String clientId;

    @DataMember(code = 2)
    @EntityField(fieldName = "player_id")
    private long playerId;

    public AccountEntity() {

    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }
}
